{% extends "bvblogapp/latests.html" %}

				{% block pagination %}
                <div id="pagination">
                    {% if paginator.has_prev_page %}<a href="{% url search_by_public_tag tag.tag %}?page={{paginator.prev_page}}">&lt;</a>{% endif %}
                    {% for page in paginator.page_range %}
                    {% ifequal paginator.page page %} <span class="strong">{{ page }}</span>&nbsp;
                    {% else %}<a href="{% url search_by_public_tag tag.tag %}?page={{page}}">{{ page }}</a>&nbsp;
                    {% endifequal %}
                    {% endfor %}
                    {% if paginator.has_next_page %}<a href="{% url search_by_public_tag tag.tag %}?page={{paginator.next_page}}">&gt;</a>{% endif %} 
                </div>
				{% endblock %}